import React from 'react';
import { history } from 'umi';

const Left: React.FC<any> = (props) => {
	const {index} = props;

  return (
		<div onClick={() => {
			console.log(222);
			history.push({
				pathname: '/user',
				query: {
					a: 'b',
				},
			});
		}}>Lfet{index.title}。</div>
	)
};

export default Left;